-
Notifications
You must be signed in to change notification settings - Fork 1.4k
first cut - migrate settings marked with INTERNAL and adopt to advanced tag #1717
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR migrates internal configuration settings from the chat.advanced.* namespace to a simpler chat.* namespace, making them public/experimental settings accessible to users. The migration includes automatic configuration migration logic to transfer user values from old keys to new keys.
Key changes:
- Created a configuration migration registry system to handle automatic migration of setting values
- Moved 40+ settings from
chat.advanced.*tochat.*namespace and changed them from internal-only to public settings - Updated tests to reflect new setting IDs and public visibility
- Added localization strings and package.json schema entries for newly public settings
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| src/platform/configuration/common/configurationService.ts | Adds configuration migration infrastructure and updates 40+ setting definitions to use new namespace with migration |
| src/platform/configuration/test/common/configurationService.spec.ts | Updates test assertions to verify new setting IDs and public visibility |
| src/extension/configuration/vscode-node/configurationMigration.ts | Moves migration types to platform layer, imports them instead |
| package.nls.json | Adds localization strings for newly public settings |
| package.json | Adds schema definitions for newly public experimental settings |
- reading config value - reading experiment - listening to changes
ulugbekna
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Backward compatibility with exp makes sense to me. Posted some other thoughts I have
alexdima
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
No description provided.